package week7;

public class Q3 {
    public static void main(String[] args) {
        Student s1 = new Student("张三", 18);
        Student s2 = new Student("张三", 18, "广州商学院");
        Student s3 = new Student("张三", 18, "广州商学院", "大二");
        System.out.println(s1.toString());
        System.out.println(s2.toString());
        System.out.println(s3.toString());
    }
}
